package com.sxj.PDMS.mapper;

import com.sxj.PDMS.model.entity.DevelopTheObjectApplicationInformationList;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sxj.PDMS.model.vo.DevelopTheObjectApplicationInformationListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 503c'j
* @description 针对表【develop_the_object_application_information_list(发展对象申请信息列表)】的数据库操作Mapper
* @createDate 2024-06-13 14:52:17
* @Entity com.sxj.PDMS.model.entity.DevelopTheObjectApplicationInformationList
*/
public interface DevelopTheObjectApplicationInformationListMapper extends BaseMapper<DevelopTheObjectApplicationInformationList> {

    public Long selectTotal();

    /**
     * 查询所有数据,分页展示
     *
     * @param start
     * @param pageSize
     * @return
     */

    public List<DevelopTheObjectApplicationInformationListVO> selectAll(@Param("start") Integer start, @Param("pageSize") Integer pageSize);

    public List<DevelopTheObjectApplicationInformationListVO> selectByNumberOrName(@Param("start") Integer start,
                                                                                @Param("pageSize") Integer pageSize,
                                                                                @Param("studentNumber") String studentNumber,
                                                                                 @Param("name") String name);
    public Long selectTotalByNumberOrName( @Param("studentNumber") String studentNumber,
                                           @Param("name")String name);

    List<DevelopTheObjectApplicationInformationListVO> selectAllStudentAndDownload(@Param("studentNumber") String studentNumber,
                                                                                   @Param("name") String name);
}




